package com.qbccn.blog.service.impl;

import com.qbccn.blog.entity.BgBoard;
import com.qbccn.blog.mapper.BgBoardMapper;
import com.qbccn.blog.service.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author linke
 * @date 2020-01-09 下午 23:06
 * @description
 */
@Service
public class CommonServiceImpl implements CommonService {

    @Autowired
    private BgBoardMapper bgBoardMapper;

    @Override
    public void board(BgBoard board) {
        bgBoardMapper.insertSelective(board);
    }
}
